<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
  <table border = "1" cellpadding = "3" cellspacing = "0" width = "100%" 
       bordercolor="#d3d3d3" bgcolor="#e6e6e6">
    <xsl:apply-templates select="ViewInfo/Company">
      <xsl:sort select="name"/>
    </xsl:apply-templates>
    <tr>
      <td colspan="2" align="right">
        <a href="UC04-020.aspx">[Update my Company Info]</a>
      </td>
    </tr>
  </table>
  </xsl:template>
  <xsl:template match="Company">

    <tr>
      <td>
        <table align="center">
          <tr>
            <th>
              <strong>The Company Information !</strong>
            </th>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td>
        <table align="center"  border = "0" cellspadding="1" cellspacing="0">
         
          <tr>
            <td width="100">Company: </td>
            <td>
              <xsl:value-of select="name"/>
            </td>
          </tr>
          <tr>
            <td>Address:</td>
            <td>
              <xsl:value-of select="address"/>
            </td>
          </tr>
          <tr>
            <td>Logo:</td>
            <td>
              <xsl:value-of select="logo"/>
            </td>
          </tr>
          <tr>
            <td>History</td>
            <td>
              <xsl:value-of select="history"/>
            </td>
          </tr>
          <tr>
            <td>Telephone</td>
            <td>
              <xsl:value-of select="telephone"/>
            </td>
          </tr>
          <tr>
            <td>Email</td>
            <td>
              <xsl:value-of select="email"/>
            </td>
          </tr>
          <tr>
            <td>Date</td>
            <td>
              <xsl:value-of select="date"/>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </xsl:template>
</xsl:stylesheet> 

